<div class="easyui-layout" data-options="fit:true">
    <div data-options="region:'north'" class="center" style="">
        <div class="webmap">
            <p class="webmaptip">当前位置:</p>
            <a href="javascript:;" class="easyui-link" data-options="plain:true">财务管理</a>
            <p class="webmaptip">></p>
            <a href="javascript:;" class="easyui-link" data-options="plain:true">资金管理</a>
            <p class="webmaptip">></p>
            <a href="javascript:;" class="easyui-link" data-options="plain:true">投资流水</a>
        </div>
        <div class="querybycon">
            <form id="query">
                <div class="queryinfo">
                    <div>订单号 <input type="text" name="orderId"></div>
                    <div>用户名 <input type="text" name="username"></div>
                    <div>投标方式 <input class="easyui-combobox" name="type"
                                     data-options="url:'/dictionary/investType?all=true'"></div>
                    <div>借款编号 <input type="text" name="loanId"></div>
                    <div style="width: 470px;">
                        投资时间 <input name="beginTime" class="easyui-datebox"> - <input name="endTime"
                                                                                      class="easyui-datebox">
                    </div>
                    <div class="query">
                        <a id="queryBtn" href="javascript:;" class="easyui-linkbutton"
                           data-options="iconCls:'fa fa-search'"></a>
                    </div>
                </div>
                <div class="querybtn">
                    <a id="exportBtn" href="javascript:;" class="easyui-linkbutton"
                       data-options="iconCls:'fa fa-save'">导出</a>
                </div>
                <div style="visibility: hidden;">aa</div>

            </form>
        </div>
        <div class="separator"></div>
    </div>
    <div data-options="region:'center'">
        <table id="list"></table>
    </div>
</div>

<script type="text/javascript">

    var delUrl = '/dictionary/del';
    var save = '/dictionary/save';
    var listUrl = "/dictionary/list";
    var edit = "/dictionary/edit";

    var columns = [[{
        field: 'id',
        checkbox: true
    }, {
        field: 'trdNo',
        title: '交易单号',
    }, {
        field: 'loanId',
        title: '借款编号',
    }, {
        field: 'username',
        title: '用户名',
    }, {
        field: 'name',
        title: '姓名',
    }, {
        field: 'investType',
        title: '投标方式',
    }, {
        field: 'investAmt',
        title: '投资金额(元)',
    }, {
        field: 'bonusType',
        title: '优惠券类型',
    }, {
        field: 'bonusValue',
        title: '面值或利率',
    }, {
        field: 'actualPayAmt',
        title: '实际支付金额(元)',
    }, {
        field: 'expectProfitRate',
        title: '预期年化收益率',
    }, {
        field: 'investTime',
        title: '投资时间',
    }]];
    list.init({url: listUrl, columns: columns});
</script>
